package team.newexcellence.tsfitness.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import team.newexcellence.tsfitness.pojo.Article;
import team.newexcellence.tsfitness.service.ArticleService;
import team.newexcellence.tsfitness.dao.ArticleDao;


import java.util.List;

/**
 * @Description: 文章服务层接口的实现类
 * @Author: liningbo
 * @CreateDate: 2018/8/1 14:41
 * @UpdateUser: liningbo
 * @UpdateDate: 2018/8/1 14:41
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Service
public class ArticleServiceImpl implements ArticleService {
    @Autowired
    private ArticleDao articleDao;
    //存放当前的文章ID
    static int articleID;

    @Override
    public List<Article> findAllArticle() throws Exception {
        return null;
    }

    @Override
    public List<Article> findArticleByName(String articleName) throws Exception {
        return null;
    }

    @Override
    public Article findArticleByID(int articleID) throws Exception {
        return null;
    }
}
